Feature: 04_2. Now we can test the Sentry Navigation Settings
Given
I'm using the app
And
class "initialLoader" is invisible
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Settings Menu is invisible
And
the Settings Button is clicked
And
the Settings Menu is visible
When
the Personalize Settings Button is clicked
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='settings-labelList-label active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:403) at ✽.the Personalize is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/utomated_Testing_ShortTermSentry/short_term_sentry/release/04_2.Navigation_Settings.feature:13)
And
a menu "Display" is visible
Before
Hook
When
the Navigation Settings Button is clicked
And
the Navigation is active
Then
the text on element CA RED 100m is "100 m"
And
the text on element CA RED 200m is "200 m"
And
the text on element CA RED 500m is "500 m"
And
the text on element CA RED 1000m is "1000 m"
And
the text on element CA RED 1nm is "1 nm"
And
the text on element CA YELLOW 100m is "100 m"
And
the text on element CA YELLOW 200m is "200 m"
And
the text on element CA YELLOW 500m is "500 m"
And
the text on element CA YELLOW 1000m is "1000 m"
And
the text on element CA YELLOW 1nm is "1 nm"
And
the text on element Surveillance RED 100m is "100 m"
And
the text on element Surveillance RED 200m is "200 m"
And
the text on element Surveillance RED 300m is "300 m"
And
the text on element Surveillance RED 400m is "400 m"
And
the text on element Surveillance RED 500m is "500 m"
And
the text on element Surveillance YELLOW 100m is "100 m"
And
the text on element Surveillance YELLOW 200m is "200 m"
And
the text on element Surveillance YELLOW 300m is "300 m"
And
the text on element Surveillance YELLOW 400m is "400 m"
And
the text on element Surveillance YELLOW 500m is "500 m"
And
the text on element Manual RED 100m is "100 m"
And
the text on element Manual RED 200m is "200 m"
And
the text on element Manual RED 500m is "500 m"
And
the text on element Manual RED 1000m is "1000 m"
And
the text on element Manual RED 1nm is "1 nm"
And
the text on element Manual YELLOW 100m is "100 m"
And
the text on element Manual YELLOW 200m is "200 m"
And
the text on element Manual YELLOW 500m is "500 m"
And
the text on element Manual YELLOW 1000m is "1000 m"
And
the text on element Manual YELLOW 1nm is "1 nm"
Given
I'm using the app
And
class "initialLoader" is invisible
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Settings Menu is invisible
And
the Settings Button is clicked
And
the Settings Menu is visible
When
the Personalize Settings Button is clicked
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='settings-labelList-label active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:403) at ✽.the Personalize is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/utomated_Testing_ShortTermSentry/short_term_sentry/release/04_2.Navigation_Settings.feature:13)
And
a menu "Display" is visible
Before
Hook
When
the Feet and nautical miles is clicked
Then
the text on element Secondary Map First Line distance is "1640 ft"
And
the text on element Secondary Map Second Line distance is "3280 ft"
And
the text on element Secondary Map Third Line distance is "1 nm"
Given
I'm using the app
And
class "initialLoader" is invisible
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Settings Menu is invisible
And
the Settings Button is clicked
And
the Settings Menu is visible
When
the Personalize Settings Button is clicked
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='settings-labelList-label active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:403) at ✽.the Personalize is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/utomated_Testing_ShortTermSentry/short_term_sentry/release/04_2.Navigation_Settings.feature:13)
And
a menu "Display" is visible
Before
Hook
When
the Navigation Settings Button is clicked
And
the Navigation is active
Then
the text on element CA RED 100m is "328 ft"
And
the text on element CA RED 200m is "656 ft"
And
the text on element CA RED 500m is "1640 ft"
And
the text on element CA RED 1000m is "3280 ft"
And
the text on element CA RED 1nm is "1 nm"
And
the text on element CA YELLOW 100m is "328 ft"
And
the text on element CA YELLOW 200m is "656 ft"
And
the text on element CA YELLOW 500m is "1640 ft"
And
the text on element CA YELLOW 1000m is "3280 ft"
And
the text on element CA YELLOW 1nm is "1 nm"
And
the text on element Surveillance RED 100m is "328 ft"
And
the text on element Surveillance RED 200m is "656 ft"
And
the text on element Surveillance RED 300m is "984 ft"
And
the text on element Surveillance RED 400m is "1312 ft"
And
the text on element Surveillance RED 500m is "1640 ft"
And
the text on element Surveillance YELLOW 100m is "328 ft"
And
the text on element Surveillance YELLOW 200m is "656 ft"
And
the text on element Surveillance YELLOW 300m is "984 ft"
And
the text on element Surveillance YELLOW 400m is "1312 ft"
And
the text on element Surveillance YELLOW 500m is "1640 ft"
And
the text on element Manual RED 100m is "328 ft"
And
the text on element Manual RED 200m is "656 ft"
And
the text on element Manual RED 500m is "1640 ft"
And
the text on element Manual RED 1000m is "3280 ft"
And
the text on element Manual RED 1nm is "1 nm"
And
the text on element Manual YELLOW 100m is "328 ft"
And
the text on element Manual YELLOW 200m is "656 ft"
And
the text on element Manual YELLOW 500m is "1640 ft"
And
the text on element Manual YELLOW 1000m is "3280 ft"
And
the text on element Manual YELLOW 1nm is "1 nm"
Given
I'm using the app
And
class "initialLoader" is invisible
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Settings Menu is invisible
And
the Settings Button is clicked
And
the Settings Menu is visible
When
the Personalize Settings Button is clicked
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='settings-labelList-label active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:403) at ✽.the Personalize is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/utomated_Testing_ShortTermSentry/short_term_sentry/release/04_2.Navigation_Settings.feature:13)
And
a menu "Display" is visible
Before
Hook
When
the Meters and nautical miles is clicked
Then
the text on element Secondary Map First Line distance is "500 m"
And
the text on element Secondary Map Second Line distance is "1000 m"
And
the text on element Secondary Map Third Line distance is "1 nm"
Given
I'm using the app
And
class "initialLoader" is invisible
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
And
the Bottom Menu is visible
And
the Settings Menu is invisible
And
the Settings Button is clicked
And
the Settings Menu is visible
When
the Personalize Settings Button is clicked
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='settings-labelList-label active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:403) at ✽.the Personalize is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/utomated_Testing_ShortTermSentry/short_term_sentry/release/04_2.Navigation_Settings.feature:13)
And
a menu "Display" is visible
Before
Hook
When
the Navigation Settings Button is clicked
And
the Navigation is active
Then
the text on element CA RED 100m is "100 m"
And
the text on element CA RED 200m is "200 m"
And
the text on element CA RED 500m is "500 m"
And
the text on element CA RED 1000m is "1000 m"
And
the text on element CA RED 1nm is "1 nm"
And
the text on element CA YELLOW 100m is "100 m"
And
the text on element CA YELLOW 200m is "200 m"
And
the text on element CA YELLOW 500m is "500 m"
And
the text on element CA YELLOW 1000m is "1000 m"
And
the text on element CA YELLOW 1nm is "1 nm"
And
the text on element Surveillance RED 100m is "100 m"
And
the text on element Surveillance RED 200m is "200 m"
And
the text on element Surveillance RED 300m is "300 m"
And
the text on element Surveillance RED 400m is "400 m"
And
the text on element Surveillance RED 500m is "500 m"
And
the text on element Surveillance YELLOW 100m is "100 m"
And
the text on element Surveillance YELLOW 200m is "200 m"
And
the text on element Surveillance YELLOW 300m is "300 m"
And
the text on element Surveillance YELLOW 400m is "400 m"
And
the text on element Surveillance YELLOW 500m is "500 m"
And
the text on element Manual RED 100m is "100 m"
And
the text on element Manual RED 200m is "200 m"
And
the text on element Manual RED 500m is "500 m"
And
the text on element Manual RED 1000m is "1000 m"
And
the text on element Manual RED 1nm is "1 nm"
And
the text on element Manual YELLOW 100m is "100 m"
And
the text on element Manual YELLOW 200m is "200 m"
And
the text on element Manual YELLOW 500m is "500 m"
And
the text on element Manual YELLOW 1000m is "1000 m"
And
the text on element Manual YELLOW 1nm is "1 nm"